// src/router/index.js

import { createRouter, createWebHistory } from 'vue-router';
import WeatherPrefab from '@/components/WeatherPrefab.vue';
import WeatherChart from '@/components/WeatherChart.vue';
import MainView from '@/components/MainView.vue';
const routes = [
    {
        path: '/',
        name: 'WeatherPrefab',
        component: WeatherPrefab,
    },
    {
        path: '/weather-chart',
        name: 'WeatherChart',
        component: WeatherChart,
    },
    {
        path: '/cesium-view',
        name:'Main.vue',
        component: MainView,
    }
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
